<template>
	<view class="p-10 ">
		<view class="border-1 rounded-base bg-white" style="border-color: #BBB;  min-height: 90vh;white-space: pre-wrap;">
			<rich-text :nodes="merchant_note"></rich-text>
		</view>
	</view>
</template>

<script>
	import { mapState, mapMutations } from 'vuex'
	import request from '/utils/request.js';
	export default {
		data() {
			return {
				merchant_note: '',
			}
		},
		onLoad() {
			this.getConfig();
		},
		onReachBottom() { 
			
		},
		onShareAppMessage() {
			return {
			  title: '飞兔货运',
			  path: '/pages/task/index',
			  // imageUrl : ''
			}
		},
		onShareTimeline() {
			return {
			  title: '飞兔货运',
			  // query: '',
			  // imageUrl : ''
			}
		},
		methods: {
			getConfig(){
				request.post('/merchant/note').then(res=>{
					this.merchant_note = res.merchant_note;
				})
			}
		}
	}
</script>

<style>
	page{
		background-color: #FFF8F5;
	}
	.bottom-line{
		border-bottom: 1px solid #bbb;
	}
</style>
